package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author lenovo
 * @description TODO
 * @date 2022/9/24 16:00
 */
@Transactional
public interface DishService extends IService<Dish> {

    public void saveWithFlavor(DishDto dishDto);

    public DishDto getIdWithFlavor(Long id);

    public void updateWithFlavor(DishDto dishDto);

}
